public class NegotiationSessionWrapper extends NegotiationSession
domain, opponentBidHistory, outcomeSpace, ownBidHistory, timeline, utilitySpace| Constructor and Description |
|---|
NegotiationSessionWrapper(Trace trace,
java.lang.String mainPath)
Given a trace, and the path to the file where to load the utility profile,
construct a negotiation session.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getDiscountedUtility(Bid bid,
double time)
Returns the discounted utility of a bid given the bid and the
time at which it was offered.
|
double |
getDiscountFactor()
Returns the discount factor of the utilityspace.
|
BidDetails |
getMaxBidinDomain()
Returns the best bid in the domain.
|
BidDetails |
getMinBidinDomain()
Returns the worst bid in the domain.
|
BidHistory |
getOwnBidHistory()
Returns the bidding history of the agent.
|
double |
getTime()
Returns the normalized time (t = [0,1])
|
Timeline |
getTimeline() |
getDomain, getIssues, getOpponentBidHistory, getOutcomeSpace, getUtilitySpace, setOutcomeSpacepublic NegotiationSessionWrapper(Trace trace, java.lang.String mainPath)
trace - of the opponentmainPath - to the utility spacepublic BidHistory getOwnBidHistory()
NegotiationSessiongetOwnBidHistory in class NegotiationSessionpublic double getDiscountFactor()
NegotiationSessiongetDiscountFactor in class NegotiationSessionpublic Timeline getTimeline()
getTimeline in class NegotiationSessionpublic double getTime()
NegotiationSessiongetTime in class NegotiationSessionpublic BidDetails getMaxBidinDomain()
NegotiationSessiongetMaxBidinDomain in class NegotiationSessionpublic BidDetails getMinBidinDomain()
NegotiationSessiongetMinBidinDomain in class NegotiationSessionpublic double getDiscountedUtility(Bid bid, double time)
NegotiationSessiongetDiscountedUtility in class NegotiationSessionbid - which discount utility is requested.time - at which the bid was offered.